<style lang="scss" scoped>
.VUE{
    position: absolute;
    bottom:0;
    top:0;
    left:0;
    right:0;
}
</style>
<template lang="pug">
.VUE
    .I-loading
</template>
<script lang="coffee">
session =  require('~coffee/_lib/session')

export default {
    mounted:->
        await $.ajax(
            {
                method:"POST"
                url:"*auth/user/logout"
                headers:{
                    I:@$route.params.I
                }
                success:->
                    session.logout()
                    GO.push "/"
                    return
            }
        )
        return
}
</script>

